home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / SecalDemo / Inc / datatypes / soundclass.inc < prev    next >
Text File  |  1998-06-24  |  761b  |  31 lines

  1. include "inc/utility/tagitem.inc";
  2. include "inc/datatypes/datatypesclass.inc";
  3. include "inc/libraries/iffparse.inc";
  4.  
  5. def SOUNDDTCLASS = "sound.datatype";
  6.  
  7. def SDTA_Dummy = (DTA_Dummy+500);
  8. def SDTA_VoiceHeader = (SDTA_Dummy+1);
  9. def SDTA_Sample = (SDTA_Dummy+2);
  10. def SDTA_SampleLength = (SDTA_Dummy+3);
  11. def SDTA_Period = (SDTA_Dummy+4);
  12. def SDTA_Volume = (SDTA_Dummy+5);
  13. def SDTA_Cycles = (SDTA_Dummy+6);
  14. def SDTA_SignalTask = (SDTA_Dummy+7);
  15. def SDTA_SignalBit = (SDTA_Dummy+8);
  16. def SDTA_Continuous = (SDTA_Dummy+9);
  17.  
  18. def CMP_NONE = 0;
  19. def CMP_FIBDELTA = 1;
  20.  
  21. struct VoiceHeader is
  22.   vh_OneShotHiSamples:ulong;
  23.   vh_RepeatHiSamples:ulong;
  24.   vh_SamplesPerHiCycle:ulong;
  25.   vh_SamplesPerSec:uword;
  26.   vh_Octaves:ubyte;
  27.   vh_Compression:ubyte;
  28.   vh_Volume:ulong;
  29. ;
  30.  
  31.